package main

import (
    "fmt"
)

type arr [4][4]int

// func (t *arr) Print() {
//     for _, line := range t {
//         for _, number := range line {
//             fmt.Printf("%2d ", number)
//         }
//         fmt.Println()
//     }
// }


func (t *arr) Print() {
    for _, line := range t {
        fmt.Print(line)
    }

    fmt.Println()
    for _, line := range t {
        for _, number := range line {
            // fmt.Print(number)
            fmt.Printf("%2d ", number)
        }
        fmt.Println()
    }
    fmt.Println()
}


func main(){
    t := arr{{1,2,3,4},{5,6,7,8},{},{11,12,13,14}}
    t.Print()
}

